package com.xcw.entity.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户详情 用户详情
 * </p>
 *
 * @author admin
 * @since 2022-06-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("user_detail")
@ApiModel(value="UserDetail对象", description="用户详情 用户详情")
public class UserDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    @TableId(value = "Id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "关联编号 用户关联字段")
    @TableField("pid")
    private Integer pid;

    @ApiModelProperty(value = "名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "昵称 昵称")
    @TableField("nick_name")
    private String nickName;

    @ApiModelProperty(value = "手机号 手机号")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "创建日期 默认为当前时间")
    @TableField("create_date")
    private Date createDate;

    @ApiModelProperty(value = "修改日期 修改时间")
    @TableField("update_date")
    private Date updateDate;

    @ApiModelProperty(value = "是否删除 是否删除 y/n")
    @TableField("is_deleted")
    private String isDeleted;


}
